package com.east.sng.service;

import com.east.sng.entity.param.ChargeParam;
import com.east.sng.entity.param.ChargeSearchParam;
import com.east.sng.entity.result.ChargeInfo;

import java.util.List;
import java.util.Map;

/**
 * @author east
 * @date: 2021/1/3
 * @Description:
 **/
public interface ChargeService {

    List<ChargeInfo> findCharges(ChargeSearchParam params);
    List<Map<String, Object>> findChargeDatas(String startTime, String endTime);

    void addCharge(ChargeParam chargeInfo);

    boolean removeCharge(Integer chargeId);
    boolean recoverCharge(Integer chargeId);

    boolean batchRemoveCharges(List<Integer> chargeIds);
    boolean batchRecoverCharges(List<Integer> chargeIds);

    List<ChargeInfo> findChargeInfo(List<Integer> chargeIds);

}